package desgin.pattern.behavior.mediator;

public abstract class AbstractMediator {
    protected AbstractColleague abstractColleagueA;
    protected AbstractColleague abstractColleagueB;

    public AbstractMediator(AbstractColleague abstractColleagueA, AbstractColleague abstractColleagueB) {
        this.abstractColleagueA = abstractColleagueA;
        this.abstractColleagueB = abstractColleagueB;
    }

    public abstract void aaffectB();

    public abstract void baffectA();
}
